function foo(a?:string, b?:number, ...b:number[]){}